<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div~p {
      color: red;
      font-size: 40px;
    }
  </style>=`
</head>

<body>


  <p>
    hello tag p1
  </p>

  <div>
    hello tag div
  </div>

  <p>
    hello tag p2
  </p>

  <div>
    hello tag div
  </div>

  <p>
    hello tag p3
  </p>

  <div>
    hello tag div
  </div>

  <p>
    hello tag p4
  </p>

</body>

</html>